EMMA Coverage Report (generated Thu May 26 15:06:49 CEST 2016)
[all classes][kdk.android.simplydo]

COVERAGE SUMMARY FOR SOURCE FILE [ListDesc.java]

nameclass, %method, %block, %line, %
ListDesc.java100% (1/1)80%  (8/10)85%  (39/46)80%  (16/20)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ListDesc100% (1/1)80%  (8/10)85%  (39/46)80%  (16/20)
ListDesc (): void 0%   (0/1)0%   (0/3)0%   (0/2)
setId (int): void 0%   (0/1)0%   (0/4)0%   (0/2)
ListDesc (int, String, int, int): void 100% (1/1)100% (15/15)100% (6/6)
getActiveItems (): int 100% (1/1)100% (3/3)100% (1/1)
getId (): int 100% (1/1)100% (3/3)100% (1/1)
getLabel (): String 100% (1/1)100% (3/3)100% (1/1)
getTotalItems (): int 100% (1/1)100% (3/3)100% (1/1)
setActiveItems (int): void 100% (1/1)100% (4/4)100% (2/2)
setLabel (String): void 100% (1/1)100% (4/4)100% (2/2)
setTotalItems (int): void 100% (1/1)100% (4/4)100% (2/2)

1/*
2 * Copyright (C) 2010 Keith Kildare
3 * 
4 * This file is part of SimplyDo.
5 * 
6 * SimplyDo is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 * 
11 * SimplyDo is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 * 
16 * You should have received a copy of the GNU General Public License
17 * along with SimplyDo.  If not, see <http://www.gnu.org/licenses/>.
18 * 
19 */
20package kdk.android.simplydo;
21 
22import java.io.Serializable;
23 
24public class ListDesc implements Serializable
25{
26    private static final long serialVersionUID = 1L;
27    
28    
29    private int id;
30        private String label;
31        private int activeItems;
32        private int totalItems;
33        
34    public ListDesc()
35    {
36        // Do nothing
37    }
38    
39    
40        public ListDesc(int id, String label, int activeItems, int totalItems)
41        {
42                this.id = id;
43                this.label = label;
44                this.activeItems = activeItems;
45                this.totalItems = totalItems;
46        }
47 
48        public int getId()
49        {
50                return id;
51        }
52 
53        public void setId(int id)
54        {
55                this.id = id;
56        }
57 
58        public String getLabel()
59        {
60                return label;
61        }
62 
63        public void setLabel(String label)
64        {
65                this.label = label;
66        }
67        
68        public int getActiveItems()
69        {
70                return activeItems;
71        }
72 
73        public void setActiveItems(int inactiveItems)
74        {
75                this.activeItems = inactiveItems;
76        }
77 
78        public int getTotalItems()
79        {
80                return totalItems;
81        }
82 
83        public void setTotalItems(int totalItems)
84        {
85                this.totalItems = totalItems;
86        }
87        
88        
89        
90}

[all classes][kdk.android.simplydo]
EMMA 2.0.5312 (C) Vladimir Roubtsov